import request from '@/utils/request'
// 登录请求函数
export const login = (obj) => {
  return request.post('/v1_0/authorizations', obj)
}
// 获得用户信息
export const getUser = () => {
  return request.get('/v1_0/user')
}
